Add test case for fractoinal number lexing.
Fix runtime errors with if statements.
Add more information to expectConsume error message.