Add tests showing failures with random functions using a generator in torch