Fix object subscript test to save buffer.