Tested: extended Tests to verify the behavior on nested objects.