Adding postArticle function to be tested