change Edge tests to use working Edge constructor, fix back loop DAG enforcement and test, remove test example, change mocha reporter to spec