added jasmine test