Merge pull request #183 from tkruse/fix-groovysh-test

Fix groovysh test
fix classCastEception in test