Fix bug where creating record with an id could cause a duplicate id error.
Version 1.7.beta2
remove all direct access to @assocations inside mock