Change the unit tests so they can be run on AppVeyor

On AppVeyor, a few of the unit tests fail, even though they pass locally. There must be a permissions issue with  embedded resources and AppVeyor. This request creates the mock responses in the code instead of from an external resource.