added PostResourceTest