Add regression tests for keys on nested associations

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