Added ILock & ICondition tests

Needs be moved to ConditionTest.