add test code and add random and iterator composite node