a bit of an unfudge
added test.pl
error msg differ slightly