check empty nodes
randomization test