fix tests contraction with only one pixel
remove debug output