[descriptor builder] add addExtensionRange method
add missing test cases