#390: DyRepoTest using mock classes

Please, review.