made verification of node greetings more robust, added tests