fix: wrong placeholder in format string
better test coverage in tree module