'simple IOLoop creation test'

def test_simple(self):

    loop = ioloop.IOLoop()
    dc = ioloop.PeriodicCallback(loop.stop, 200, loop)
    pc = ioloop.PeriodicCallback((lambda : None), 10, loop)
    pc.start()
    dc.start()
    t = Delay(loop.stop, 1)
    t.start()
    loop.start()
    if t.isAlive():
        t.abort()
    else:
        self.fail('IOLoop    failed    to    exit')
