split small range test method into two cases: all registers are zero and not all registers are zero