Add unit test on token edition genernator.