Added report sender, refactored tests.