gitignore build dir
added simple test for Tree