Modified article command to return article number

Added tests for article