add a work-around to test with event queue.
add a polling case
add a case about displaying xml