Test the variableDeclarator matcher.