[E] Code Review: Docs Controller

Primarily reviewed TaskControllerTest. Really lack experience in code
reviewing..