Added tests for JRUBY-7200 (Addrinfo problem - exception can't convert Addrinfo into String).