better lock testing