Unit tests for LESS/SCSS

Also fixes for #8894 and #8895.
Should add a test with a parameterized mixin. Also a parameterized mixin with a default value.