test creation of repository