Test sync (cached) relation getters

Some were working, some not. All known relation types should now return cached data when no arguments passed to the getter function.

Related issue: #261