Jasmine unit-tests