Fix reporting unit tests.