Added unit testing file for memory_pool class. Also minor modifications are made to memory_pool class.