so for the last four months he had experimented , testing her limits to see what he could do , or not do as was the case , to see how long he could keep her in a half-dreaming state so that she stayed with him .