Added test for Node.contains