Unit test improvements

* added another edge finding unit test with a different threshold config
* improved unit test docstrings and comments