Added initial tests for the client
Added authenticating to the client