- added level= support for [[]]
- added more unit tests