Added test for Post object