fixed test path
more tests, fixed tree strucuture decoding