fixed the ioloop instance in the tests