workflow and policies tests