added core testing in sim.