NodeStack implementation
Node test cases