result_test: bug fixed