Added unit test for 'Node is promoted' condition.
Merge pull request #48 from fubhy/node-is-promoted-test

Added unit test for 'Node is promoted' condition.