Tests: Add new tests for repositories