datatensor unit test. fixed in-line usage doc