Refactoring tests to use test.pl is a TODO.