fix tests for p5