Add test for empty tensor definition creation
Add test for empty tensor definition creation

This is an edge case that might appear inside scripts where empty
tensors are defined inside a loop.

tschijnmo/drudge,tschijnmo/drudge,tschijnmo/drudge