Tested Diarmuid's IO test