Fix local maxima 2. Test case.