Add code to test write_data_iov a bit