add restapi testsuite