test case to assert that associations do not overwrite after create, fixes #9310
Merge pull request #9893 from JonRowe/add_test_to_assert_association_doesnt_overwrite

Add a test to assert autosaving associations doesn't overwrite id accessor methods