Added lock testing tools.