Added JSON-based testers and command-line tool to run tests.