Unit test cases for mgmt service.