test: convert functions to async Co-authored-by: Milan Burda <miburda@microsoft.com>
Co-authored-by: Milan Burda <miburda@microsoft.com>