fix most node test errors