Added serialization tests to facter provider