Css: Add unit tests for negative margins and positioning

adding unit tests for negative CSS values (see #1918 and #1474).