Added ILock & ICondition tests

Needs to be moved to ConditionTest.