add get and put unittest