add token attr stub tests.