add tests for references and status

Also fixes an issue with `ARTICLE_STATUS`.