Update tests in $state with one checking for authenticationError