testing of my restful code