Fix ES5 test