test for post title and date