Added initial unit test for application controller