client api wrapper integration tests working