Introduce unit tests for the 'Range' class before possibly refactoring it. Unit tests are not yet complete.