Match objects in jasmine with legit error output