sub run_tests {
-plan tests => 1;
+plan tests => 2;
DBICTest->class("Artist")->load_components(qw/PK::Auto::SQLite/);
$artist->name( 'Auto Change' );
ok($artist->update, 'update on object created without PK ok');
+my $copied = $artist->copy({ name => 'Don\'t tell the RIAA', artistid => undef });
+is($copied->name, 'Don\'t tell the RIAA', "Copied with PKs ok.");
+
}
1;