generate report and its test