Adding mockito and unit test case for Register Service