Switched to Capture::Tiny for capturing standard error output in unit-tests