tests: Generate a tarball of test results if a test fails