added tests for tcpool