Improved nested update test in update().

Closes #2194.
Improve nested update and create testing.
Merge pull request #2196 from tomchristie/tomchristie-improve-update-nested-validation

Improve checks for nested creates and updates.