Embedding a Low Power Test Set for Deterministic BIST using a Gray Counter