pending job offer should be redirected to the index page test fixed