Test harness.

Uses node.js' assert module; run tests with `make test`.
Currently only contains some very simple tests for isNumber.