Adding test edit code