Added test cases for single and multi peak periods, overlapping and non-...

...overlapping