CAS-1377: Added unit tests for manager controller