test for a main repository