Test code for P5 2.x