I knew how waitsFor worked, it was just a bug in the test on my part.  I'll fix it.