Add spec test for add-apt-repository