worked on email test helper