[tests] replace tests and async loop