must set `hasEval` to false if the Function() constructor test throws