Added test in removeNode() to check if passed node equaled the head