Converted tests to be async await.

- There were a few tests that seemed convertible but did not work.  Will revisit the todo's.
add AsyncManualResetEvent to Functional Tests
change Thread.Sleep to Task.Delay