Get token.clear with tests