Add init from nested sequences
Update tests, more checks
Refactoring