nested lock test