Try doing this test with a series of flat surfaces that are
perpendicular to the lens, which are large enough to clearly fully
contain the "focus point", and which have sufficient detail to
provide some contrast for AF. The sides of cereal boxes could be
used, or some film canisters. Either put these at varying distances
from the camera or lay them out in a perfect line, and then shoot
from an angle.
The problem with the "ruler test" is that it's difficult to really
ensure where the focus point is focusing on, and how the AF is
going to lock. Providing a broad perpendicular surface clears up
some of these ambiguities.
Also, put the camera on a tripod, use the lowest ISO, select the
middle focus point, use the widest aperture on the lens, provide
plenty of ambient light, etc.
I've done this sort of test with my D60, no doubt inspired by the
flood of "My D60 front focuses" cries that, a few months ago, were
only interrupted by the "My D60 rear focuses" cries. Try as I
might, my D60 never did anything but focus spot on the right target.
-harry