Repository Integration Testing

All the necessary changes and integration tests for the current models and associated repositories.