add test case for "erosion right extrema bug"
fix "right extrema bug" for morphological filters