added validation to the articles (with tests)