Add tests for simple_encoder.

Change-Id: Ia8d1ddc856aa3d350522dd8dd13abc0bf40612ee
1 file changed