test readreg ok