added ad hoc test for client_lib