You won't be able to set this. For a simulated device, data that is normally stored on the physical device, such as serial number, is always returned as 0.
I believe the only way you can resolve this is to hard code the serial number when testing your application.