Unittest for manager service

fixes: bug #1251572

Change-Id: I9f543f3f8fd08d82e9523147e2797ea93f08f26f
Merge "Unittest for manager service"