fixed jasmine test