BUG: remove node.random() from generate unittests.