add restful plugin tests