Adding repositories and related tests