test cases for match_prefix
implemented match_prefix and passed unit test
update change log and version