Simplified token test a bit.