Fix/tracecheckparser

Fixes tracheck parser treelike parsing (Issue #101) and adds unit test