Adding tests for TerminalActionAuditRecorder