Instead of a static latch for storing Qj and Qj, a pair of complementary dynamic latches, each in the form of a transistor in series with a capacitor (one connected to Bj, the other to Bj, through the corresponding transistor), could be used in case the test bit is periodically refreshed or otherwise rewritten before it disappears due to capacitor leakage, etc.