Add pkg.installed tests

I was able to run these two tests successfully on my CentOS VM, so they should be good to merge.