Fix: Update test code to new API: LogQueue, and LogQueueDbImpl.setPrincipal()