Bug 857427 - Wait for delayed startup to be finished before starting tests in a window; r=ehsan