new version of PixTestPattern