Add test for #23577, colliding fkey names.