javascript tests with jasmine