Added an additional midpoint test