complete test coverage for changeEmailService