Model-based Test Generation Using Quantified CSPs