Is the screw that goes through the U-joint supposed to be cut like this?

I replaced it with a normal screw from my project car. Does this look like it was done intentionally, or did it wear out?
photo-7.jpgphoto-6.jpg

I also wonder if this is what was causing the problem with my steering, instead of the rack being bad. Is there a way to bench test a steering rack?

--buddy