Added doctests to underscored methods in tensor/modules