ckanapi for tests