fixing race condition when running all of the integration tests