Small improvements
JUnit test case for class Node updated
class Agent modified