add failing test for toJSON method

deepClone produces an object with 4 numeric keys and undefined values when the object has a property "length"