tests for r.links