Add the Unittest for service method