More tests for Task.