Added get_report_by_date to database class, passing tests