Add tests for Ractive relations.
Implement relations in Ractive.