fixing invalid argument check in match methods

assertMatch/noMatch didn't work with just two arguments, as the check was invalid. now it works as intended and does not break existing JsTestDriver tests using these methods