added tests for post and user mailer