Adding test to node plotting JS