re-add commented out check in test.pl