itemgetter added, double defaulting removed from get_numeric_code, and unit test changes