Updated jasmine test