Add factory for getting at repo instances.
Adding a few tests for reading BelongsTo.
Adding an integration test for reading belongs to.