Groovysh Tests independent of IO

Due to continued mysterious failures on CI server.
Test cases still remain valid regression tests, i.e. they still
fail if the original change in c1f31183c444b is undone.

See https://github.com/groovy/groovy-core/pull/184