Unit test for dot product of vectors.