Fixed broken repo controller test