WP-2919 Added test of node type to be publication.