Test repository connection