jasmine tests of TasksController and DateUtil