Added jasmine testing