Correct PEP8 violations.
Add tests for simple traversal.
Implement initial version of simple validation.