Set some objective.

Adding a variable to tell when KO finishes processing.
Add waitsFor tests and pending tests.