support testing of CommonJS modules with dependencies