make test geometry more interesting
add C API header