added more test cases to tensor