TestSerialization

This PR test the serialization of multiple objects (platform, device, etc).

I added default constructor to .h file for testing purpose