test image margin