test for build a repo