repositories tests