tensors, statistics, basic unit tests