Index: trunk/Nebulous-Server/t/03_server_create_object.t
===================================================================
--- trunk/Nebulous-Server/t/03_server_create_object.t	(revision 4915)
+++ trunk/Nebulous-Server/t/03_server_create_object.t	(revision 5490)
@@ -3,10 +3,10 @@
 # Copryight (C) 2004-2005  Joshua Hoblitt
 #
-# $Id: 03_server_create_object.t,v 1.5 2005-08-25 01:40:04 jhoblitt Exp $
+# $Id: 03_server_create_object.t,v 1.6 2005-11-09 01:31:07 jhoblitt Exp $
 
 use strict;
 use warnings FATAL => qw( all );
 
-use Test::More tests => 11;
+use Test::More tests => 13;
 
 use lib qw( ./t ./lib );
@@ -74,4 +74,19 @@
 Test::Nebulous->setup;
 
+{
+    my $uri = $neb->create_object( "foo", 1 );
+
+    ok( -e _get_file_path( $uri ), "class exists" );
+}
+
+Test::Nebulous->setup;
+
+eval {
+    $neb->create_object( "foo", 99 );
+};
+like( $@, qr/Invalid class/, "class doesn't exists" );
+
+Test::Nebulous->setup;
+
 eval {
     $neb->create_object();
