Posts API endpoint tests.