Fix and test thumb().