Fix default route initialization
Add tests for "task" controller