Cleanup: Remove unused TreeItem methods

Asked Taras about these methods and told that they are unused and that
were added for future potential optimisation that didn't happen.
tests: Initial tests for stats
tests: Unmark a valid test