added unit tests for edge output