fix all compile errors of pool_unittest and begin to UT