Added simpleThriftWrite() Test performed some cleanup.