KPGeometry: add first test (#32)
Rename: buildTree() --> kp_tree_build()