Added unit test for keyword transformer.