Added tests for margin and padding.