test reincarnation code