added test for logs