Undo testing code