register error test