Improved testing. Now prints TIRPAN output on failure.