Rename test executable.
Support reading from stdin.
Common tasks.