add testing for credentials
Merge pull request #24 from mojotech/sjs/add-inital-tests

add testing for credentials