Use more standard test to expose CommonJS module