Fix CodeRange to support empty token. Fix tests.