this is the test for the new lock algorithm