chore(test): convert cjs-require-remover test to ES6.
chore(test): convert add-require-for-global-identifier test to ES6.