Helpers to test partial, interrupted and would-block I/O operations with support for property-based testing.