removed unnecessary image checks in test_axes.test_margins