added test patterns and printing of images for prepration of the splitting