A test of the suitability of CCD area detectors for accurate electron-density studies