Fix failing unit tests that were needing operatingsystem fact set

I do not know if the values used are accurate to what Facter sets, so let me know if they need to be changed.