built out internal restful test