implement jasmine tests for dateHelper