test: remove unneeded HandleScope usage
These methods are Javascript-accessible so they get an implicit HandleScope. The extra scope is unneeded and can be dropped.
/cc @bnoordhuis
Checklist
-
make -j4 test
(UNIX) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test