Only cat test output if it exists.

Fixes #49.