matcher did not work correctly (always passed), because it used outdated Jasmine api