Added mock mailgun methods for testing. Added testMessage test.