Unit tests for Jasmine