Modified array/object tests for full coverage