add parse_test_result method