added RegistrationServiceTest and MessageServiceTest