added unit tests for controllers (except UserManagementController)