Add test for paper->refers_to
* #1811