adding final touches / tests for logs