Test createAsync not working as expected - C#