tests for articles model