Fixing repo tests