update rest tests