Fix float literal token and added tests for int literal and float literal