Add tests for the reports page