Implemented validation for all_algos in the driver.