Added a test case to check the range assignment operator.