added more builder tests, abstracted default keepNLogs value