WIP improvements to CSS translations, fixed unit tests a bit