Set Perl version to 5.16.

Added debugging echos to try to find which tests are failing.