Add action_policy => "warn" support and more tests.