ensure tests start only when everything is ready