Test setup of repository