Fixed test case for Registration and Mailer configuration