added test to verify report generation functionality, closes #239