Automatic Test Bench Generation for Simulation-based Validation