add a test of a POST request