Allow JS based tests in addition to JSON, update README

I thought we had done the JS-based tests previously, but Rick informs me we hadn't.  This fixes it so we can, and adds docs on how to write them.