Remove sleep time in tests