update unit test for match