finished unit tests for tasks