TST: Test shape mismatch for dot product.