dead lock test