As all major dpkg distributions now support apt, and all who doesn't reached EOL, it would be better to switch to apt instead of the legacy apt-get.
I haven't modified testing scripts because they might need apt-get because apt is not available there.
If you don't now the difference, here is a short article which explains it.