Add simple unit tests for dot product math function.