Fixes #6046: correct tests on reports