[CODES] add proto test code