Boundary-Scan Testing : A Practical Approach