make it easier to test our new helper by extracting it
tests to make sure we run ok in ubuntu and centos