Fixed wrong import order causing LESS files to be imported multiple times to generated CSS. Fixed tests.