Test for CloudFormation on_failure