You should also test size_hint for vectors of lengths 0 and 1.