#390: DyRepoTest using mock classes

Please, review.
same here