[#60589450] adding range test

unit tests for the range function