Add Node class with tests