removed /g flag from PM-testing.  fixes #1