aco: make validate() usable in tests