* add set benches * add set benches * refactor tests * took out the general functions in ffi * rollback file reader