(maint) remove duplicate code from resolution test

Prior to this commit, the tests for Facter::Util::Resolution were the
same for windows and non-windows systems. This commit combines those two
tests.