Add test for printerRangeToNumbers utility function