Added basic test script and conversion from facets to edges