Fixed test runnig on all versions.