Allow backspacing during symbol input
Fix integer tests when Number.isInteger is unavailable.