Use more standard test to expose CommonJS module
Merge pull request #24 from georgecrawford/master

Use more standard test to expose CommonJS module