adding a test around async helpers and fixing a couple of issues