Fix test with readBuffer
Remove instanceID and use instead Object.getInstanceID()