chore(test): convert verify-var-is-available test to ES6.