Fixed smarttree test