Added forget and redeem forget spec and code.
Added not match forget code case.