added test spec to node class