Fixed failing unit-tests for Perl 5.6.2 by switching to Capture::Tiny