Add regression tests for keys on nested associations

This adds the regressions tests from PR #15893 to master. It's checking that both strings and symbols are accepted as keys for nested associations.
`test_includes_accepts_strings` `test_includes_accepts_symbols`