covering more jasmine tests in task model