added a debug message.
enhanced package_testing_stub.sql to run from commandline.