fixed 2 tooltip tests, using truncation strategy to make sure database is consistent across threads