fixed repo tests