Remove test that has hard coded line number in the message.
TH: fix speed issue due to calls to THTensor_nElement()
Merge remote-tracking branch 'upstream/master'