Add test block for accessing elements via ranges