Updated minor this script to match refactoring in last commit.
Very start of some test code for this module.