Fix error which prevented xTensor from being used
Restore TensorTools tests