* fix test case fail on windows
* fix cert not working on windows
* changed to RuntimeInformation to see if osx
* change to a more common way to deal with line ending (due to git autocrlf)
* Fix flakey tests by converting them to async and synchronizing code blocks
* Use the same timeout for all tests
* Use signals to gracefully shut down the mock server