Tests for shape-margin.