check parameter types for validity, fix a small mistake in test set #3 and convert another test over from the Perl test-suite.