Fix failure in Post API tests.

Refs #3473
- Make sure test is checking the post it expects by verifying
  the post id in the results.
Merge pull request #3559 from jaswilli/post-api-tests

Fix failure in Post API tests.