Added test for dot product