Test round-tripping of relative URL

This addresses #244.