Add basic number input validation.
Revert "Rename testStorage to tsStorage for consistency."

This reverts commit ef826e03f2da10aa2d7d95c98064d1469132b6c0.