Different lenses may have different performances - it may just be that your 17-55 has less sharpness.
Generally, for testing, I will do this --
Find a focus chart or just get a newspaper.
Set the chart/paper on a flat surface. Mount camera on tripod and look down at about a 45 degree angle.
Set aperture wide open, focus in on something.
Use 2sec timer, take picture.
View the image on the computer and see if your focus point is sharp -- then see if the text behind and in front of your focus point is sharp. Generally, you should have a bit of sharpness evenly distributed around the focal point (in front and behind), and then they should both blur at around the same time.
It's a bit tricky, so take it slowly and make sure you make no mistakes.
Generally, though, I don't even use a tripod - I just take a few angled shots at things with text, etc and mentally remember the focal point, then check on the PC.
Luckily my brand new 40D and 28-135 is spot on in the focus =D
What's more, I did a resolution chart test, shooting wide open to F/11 at 28mm, 70mm and 135mm, and I can't believe there's so little difference in sharpness between the apertures...not bad at all! I actually have to compare corners at 100% to see the difference, and at F11 I can barely see more paper texture than at f/5.6 Color me impressed.