Adding client unit tests