Write tests to Condition object