Fix test's algorithm for awaiting HC start