Adding broad key unit tests, implementing the broad refresh token logic