java Tests Node getters and setters