Added unit test for read method of IO class
Fix for read issue with conventional readers
See https://jira.codehaus.org/browse/GROOVY-7132