Try mitigating effects of input buffering in tests