dot product tests