Add note about testing for exit code vs output. Also formatting.

Fixes #1.