Added io_loop to application in testing