Unit tests for LESS/SCSS

Also fixes for #8894 and #8895.
If you wan to keep these comments, they should be indented with other code (not in column 0)