Test code for node