tester now saves outputs and valgrind outputs