remove time.Sleep in tests, synchronize