Add two tests for localMaxima
localMaxima working