Implemented search(), show(), stat(). Updated tests.