Fixes #686

new method comparePixelArrayWithPixelScreenArrayWithTolerance;
adapted tests accordingly