Add test_result struct