removed newPost from the tests