re-added ShiftRegsiter for mocha test