#390: DyRepoTest using mock classes

Please, review.
It would be better to start it with upper case (I think qulice should fail on that), I would rather change it to `In case of error`