fixing MatchTest