Add coverage for repository