Test repository formation