chore(tests): convert ES5 tests to ES6