Added test cases for TwoFactorProviderRegistry