trying to solve the async test problem