Epi: fixed renaming bug of no_sim.
Epi: added a test case.