Add some Jasmine unit tests