Restoring ImageSensor.py and network serialization integration test