Add updated test results; add HTML test runner
Rework library to add support for many new modes, improved results