Add test cases for Post