Search a node and its children for nodes passing a test function. If
node is not an array, it will be wrapped in one.
Function to test nodes on.
Node to search. Will be included in the result set if it matches.
Also consider child nodes.
Maximum number of nodes to return.
All nodes passing