Let test capture console out
Add SecureRandomFactory