- fix typos in test
- restore __len__ to identity map