Add support for defining an $out variable in the test code, rather than echo'ing