remove race condition from tests from the "language level"