replace ptest usage with crm_simulate