update clean up some comments add sleep to wait for clear token cache
refactor tests update, add ignore, move some test cases out to separate test, and update config