Added test for range_defval