review feedback. Don't use time.Tick and improve the tests