Fix pr_nested_record_test compilation when TEST is not defined