updated test for posts