Fix test cases to work.

We use puppetlabs_spec_helper to reduce the boilerplate.
I extend my thanks to @richardc who was holding my hand through this.