Initial the repository and test the repository