test the dead lock, two operation the lock order is opposite