test program for lock3