Test a regression about secrets being nil