added unit tests for new 2FA functions