Added some tests for the root controller.