Add unit tests for local extremum localization.
Fix compilation issues.
Merge pull request #131 from DO-CV/maint-test-local-extremum

[MAINT] Add unit tests for the localization of local extrema.