memory pool test cases