Make test.pl output to STDOUT instead of STDERR

This is in line with other CPAN modules.

Also suppress the expected warning
  Foo2 already has method: one at ./test.pl line 202.
when requiring Foo2.pm.

--- libclass-objecttemplate-perl.orig/test.pl
+++ libclass-objecttemplate-perl/test.pl
@@ -199,7 +199,7 @@
 EOT
   close(F);
 }
-require Foo2;
+{ local $SIG{__WARN__} = sub {}; require Foo2; }
 
 my $f = Foo2->new();
 
@@ -235,6 +235,6 @@
 
 sub result {
   my $cond = shift;
-  print STDERR "not " unless $cond;
-  print STDERR "ok ", $i++, "\n";
+  print "not " unless $cond;
+  print "ok ", $i++, "\n";
 }
