import nock in `before` clause
Fixed tests and reduced size by removing binary content from nocks.