Moved mocks to test directory
Added parentConnectionClient test
Added nock to package.json