Reword time between error, and add test.

checkOk and checkFails wrappers around check would make the test shorter and more readable.