On-Demand Scenario Generation for Testing Automated Driving Systems