added an test case for noExtremes option