Added corner case unit test for finding Maxima