implement data pool with test case