Test for restfull