test script for deprecate.pm