new tests for generating when an empty hash or array is present