MDL-55548 course: update test to use waitForSecond()