added jasmine testing