Test create repository.