Implemented tests for the handling of empty objects