Improve testing - within process, add nock