Repositories and integration test
fix