add test file to check if post data is retrieved