Add test suite for the range case