added tests for GET /posts/ & /posts/hotsorting