Regulatory compliance testing