added tests for Node match