Added new tests

- Validation tests
- Hierarchy roundtrip
Moved ICommand