Add tests for Task.create.