Use nock for testing instead of mock apiary api