add more test to thrift dao