Expose ref id
Expose slug in LinkedDocument
Fix tests because of IDs that changed on test repository