Test coverage for Node class

Changes node class to meet getter and setter conventions