added initial tests for client