Unit tests for the new TestCondition class