add sleep in tests and go fmt