Test WaitFor
open ./tests/html/test_async_event.html  
assertValue theField oldValue
click theButton nowait
assertValue theField oldValue
waitForValue theField newValue
verifyValue theField newValue