Updated class testEmail