test for logs retrieval