Call raise_error on subject to catch the error.

This should help, the create_service_spec.rb fails on another point because you use the fail function in a selector's default (for more info, see http://projects.puppetlabs.com/issues/4598). After you fix that, it should be fine.