Adds tests to cover "cf purge-service-offering"

- refactors some of the service test helpers

[#65840614]