Improved Javadoc + Basic tests for client and authentication