Tests for repo