Test Case for p5 and p6.