test: rest: improve