Added unit tests for zero-length ranges in range getter
Added unit tests for negative arguments in range setter