client.api module fully tested