Tests/report karma

Unit test for report_karma()