Use constants so we won't have to edit a dozen places in the test when the package versions are bumped. (cherry picked from commit 6242ae8b18) Related: rhbz#171282
6242ae8b18