Checking for open circuits or shorts