refactor to use async to run different tests against the same test function