added token handler test