Test: Move apt-get logic into script