fix saving test_result and reloading test when it was opened at the last question