Add test case to assert that test results/reports are considered outputs.

This wasn't broken, but we didn't have an explicit test for it.