add get by id api test