Added lock-testing program.