Add function posts_date_test and list scheduled posts