An improved code density test for dynamic characterization of A/D converters