Added null check for values node. Updated example/test project