In the 3+ years of posting in the iPhone forum, I've never seen a single thread where someone got an iPhone and it didn't work right out of the box. They more than likely test the device before it's packaged up, and only if something happened during the shipping process from China could mess up the device.