Added tests for default url format.
Initial code for implicit string conversion in write().