Add additional sort and range tests