add token attribute getter tests.