Added a minimal test for serialization of Tensor