add test geometry generation function