Add a test for reflection keys as Strings, fixes #16928

See also PR: #17610
Merge pull request #17732 from rails/add-reflections-string-keys-test

Add a test for reflection keys as Strings, fixes #16928