Added a unit test for jwt refresh.