Added a unit test for the 'Node is published' condition.