updated node rest tests