tests: Handle disabled algorithms.