Added unit test for loose phrases.