Test case fixes after merging posts changes