How does this test vary from the tests being done below? Can we combine these two sets of tests?

https://github.com/puppetlabs/facter/pull/438/files#L2R283