test all combinations of match/modified and fix testcase for match/unmodified