tests for Task