feature tests for preadv, pwritev