Added ILock & ICondition tests

All condition tests of a lock need to be moved to the ConditionTest.