Fixing testEmailRootPost to be cleaner and optimized