PixTestPattern upgrade

added new features to PixTestPattern as 'print to file'.
new testParameters to PixTestPattern.