Add AccesibleConditionQuery complex tests