Node value type check added. Only string is allowed. New test added for value check.