added successful test for posting data