Added clearing functionality to test nodes