take out sleep statements in tests