add getNodeHeight method and run spec against it