adding tests for logs