Add an example netrc file
Refactor to use netrc file path if supplied, fix test

Refactoring after review. This allows you to specify a netrc path, and adds a
test that actually means something