Instead of using "-3d" to exclude Cairo rendering, use "-no$renderer" to allow excluding any renderer. And because we use contains() for the check, we can exclude multiple renderers by naming the test sth like "test-nogl-nocairo.node"