update sim driver and add sim test