Refactor terse_write_test
Refactor terse_write_test

Reviewed By: Mizuchi

Differential Revision: D37074786

fbshipit-source-id: d830e450d0c44b0313fbfd36012ce025fd23ad8a

facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift