GROOVY-6527 getProperty already checks GroovyObject
GROOVY-6527 Updated testClassGetName