fixed failing tests (exact error depends on node version)