main.tests: add script to run tests from the command line