Testing CommonJS modules