Bug 906338 refactor tests to using new assert lib, add test util
'waitUntil'