Extend the BIO callback tests to check the return value semantics