Step 4. Refactor tests to use ES6 syntax.