Modeled after the yum tests but also tests local package installations as fixed with PR#1256. This depends on PRs #1256, #1261 and #1262 in ansible-modules-extra.