added a test: testMutexLock::test_lockWait().