Modernize tests

This patch series updates the spec boilerplate to current style, adds an rspec test which exercises similar behavior to the existing tests/*.pp files, and adds travis boilerplate.