Tests for findExtrema, an early (temporary) findExtrema version
Added findExtrema() method and tests for it.