Fix broken unit tests caused by CheckVersion() change.