Tensor tests