complete tests for Task class