Don't blow up if delayed not configured in tests

This isn't checking if delayed is configured and so blows up in an after
hook where it's used.