added testing with jasmine