Properly hook up related models for testing.