simplify test ref reposotory structure