fix bug in reports_controller_test