Implement dog model and tests.
Implement dog_ownership join model with tests.