test node step

the way to clean up is not that straight forward.
It is not easy for me to understand what it is doing based on the error.