Simplify test framework.
Exit with return status of command.

Also corrects formatting.
Improvements to Parrot search tests.