Fixing node condition tests.
Merge pull request #16 from fubhy/fix-node-condition-tests

Fixing node condition tests.