unit tests for edge output