The tests are run on a VM where certain properties can be missing, especially when dealing with hardware objects like this one. Just omit the tests for PartNumber and Speed. The type for Speed should be UINT32/CIM_UINT32.
Does the app fail because of that non-empty PartNumber?