Undoing testing code