Add tests for AddTaskController

Minor changes:
 - automatic reformat of TaskStatusTest