added a jasmine test