fixed commonjs tests