unit test little refactoring
add to_s method for URI class