tests: Update tests to save output on failure