Were tomatoes ever thought to be poisonous?

Were tomatoes ever thought to be poisonous?