Unknown error occur when comparing the printed results of search command where the expected and the actual output are the same.