fix saving test_result