adding api-example and tests to clezapis