unit test proto