fixed test error (uses node value to compare instead of key node)