Fix tests: before delete test projects wait for build