fixed an invalid jasmine test