Wrongly placed comment
test setting custom_ref_applied flag