def test_rake(self):
        expected_t_docs = [
            ['cat dog', 'running happy'],
            ['cat dog runs sad']
        ]
        t_docs = keyword.RAKETokenizer().tokenize(self.docs)

        # Order not necessarily preserved
        for i, output in enumerate(t_docs):
            self.assertEqual(set(output), set(expected_t_docs[i]))