Simple Perl5 mock test library using RAII
