add more advanced tests for phrase_prefix