using Capture::Tiny in test