Test repository created in class