DRY up repo config tests