Measuring contact resistance of connections