make tests more robust (https://github.com/DrHyde/perl-modules-Class-Mockable/issues/3)