Refined proper format range test