refactor UserMailerTest
fix more UserMailerTests