port tests from python
copy test files from python
flesh out client methods
all tests ok, but authn failing
all tests ok, but authn failing
switch to explicit Resource object to make basic authn work