IO test updated, minor optimization to scheduler

Rewrote existing IO test to a better one