refactored tests to separate async wrappers