small reorg of cgalutils namespace
#913 added testcase