fix the spurious error in the reg tests

every 256th run, we'd fail to flip a byte properly.  should not be fixed