Test chip design for optimal cell-aware diagnosability