Simlify test_output.h