Fix repo spec test