testing: add NewCharm function
Merge pull request #74 from rogpeppe/028-testing-newcharm

testing: add NewCharm function