adding some tests and putting some details in the search