Add spec tests for passing an array as the package name

This is necessary to ensure support for Puppet v3.4