- simplified ToArray implicits
- some changes in its definition
- tests