Design of Digital Window Comparators and their Implementation within Mixed-Signal DfT Schemes