Migrate associated test to check the getCSSVariables util function, that was used in `hasCSSVariable` and is still used in other parts of the code, so we keep some coverage. Differential Revision: https://phabricator.services.mozilla.com/D257467