Test and Fix of issue #10 SELECT FOR UPDATE