updated thrift to 0.9.0, fixed tests