death test for double mutex lock

debug build will throw an assertion hence this test will pass only on
debug build