Finalised and tested with parent tests CUnitQueryCondition, need to write specific tests.