Added unit tests for Pool allocator.