fixing log tests