fix test so IO debugging is possible