added test for client class