fix some syntax errors

detected by running genome-perl -Ilib t/01_one_lock.t
Merge pull request #1 from mkiwala-g/master

fix some syntax errors