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

This is a bug on v3.2.13 (reported in #9130 ) where newly created associations will overwrite directly set ids. It seems to be fixed on 3-2-stable but this will help with regressions.