added test driver codes. need to review definition tmr.