Issue #2306521 by hass: Added test_dependency on token.