Added Jasmine tests for basic helper