Written some unit tests for SignupService.