Fixed test cases for new object pool