The existing unit tests depend on the order of execution of the goroutine, so it is prone to problems