Added test for GroovyBackend to ensure the ThreadLocal is in place