Added a test to check that digit value gets set correctly on LexToken.