lock testing cases( rename & adding single lock test defination)