adding unit tests for report scheduler.