Added tests for User and Group models and IOC for all controllers.