fixing log test