new PixTestPattern version

added features to TestPattern like print to file, ...
new parameters for TestPattern