Add tests for custom root key on links and custom association name on links

Tests! (a promise from the last pull request)