improve existing edge collapse test cases
add multiple test cases to new collapse test
remove redundant code from edge collapse
fixes #17