IOHandlerTest runs
cleaned up the code a tiny bit