fixed router tests by keping localstorage from happening