reverted last commit. saveRecordOnOwningSide means saving referenced record that has to update owning side. fixed create/update owningSide! added clearTables after generate records (needed? some references were not valid within my tests)