Test hashing of vector.