CLC-1014 Jasmine tests for tasks (pt. 1)

https://jira.media.berkeley.edu/jira/browse/CLC-1014