changed synchronous tests to async
tests passing