fix handling of test mechs
Merge pull request #232 from STIXProject/bindings_bug

fix handling of test mechs