Index: /trunk/Nebulous/t/51_client_create.t
===================================================================
--- /trunk/Nebulous/t/51_client_create.t	(revision 17643)
+++ /trunk/Nebulous/t/51_client_create.t	(revision 17644)
@@ -3,5 +3,5 @@
 # Copryight (C) 2004-2005  Joshua Hoblitt
 #
-# $Id: 51_client_create.t,v 1.4 2008-02-02 01:51:29 jhoblitt Exp $
+# $Id: 51_client_create.t,v 1.5 2008-05-13 00:16:15 jhoblitt Exp $
 
 use strict;
@@ -10,5 +10,5 @@
 use Apache::Test qw( -withtestmore );
 
-plan tests => 7;
+plan tests => 9;
 
 use lib qw( ./t ./lib );
@@ -54,4 +54,19 @@
 
 {
+    # key, volume == undef
+    my $neb = Nebulous::Client->new(
+        proxy => "http://$hostport/nebulous",
+    );
+
+    my $uri = $neb->create("foo", undef);
+
+    my ($scheme, $auth, $path, $query, $frag) = uri_split($uri);
+    ok(-e $path, "good filename");
+    uri_scheme_ok($uri, 'file');
+}
+
+Test::Nebulous->setup;
+
+{
     my $neb = Nebulous::Client->new(
         proxy => "http://$hostport/nebulous",
