Added more tests for memory pools.
All tests pass.